<?php
namespace BP\En;
class EntityMyPK extends Entity {
	public function getPK () 
	{
		return "MyPK";
	}
	public function getMyPK () 
	{
		return $this->GetValStringByKey(EntityMyPKAttr::$MyPK);
	}
	public function setMyPK ($value) // [String value]
	{
		$this->SetValByKey(EntityMyPKAttr::$MyPK, $value);
	}
	public function InitMyPKVals () 
	{
		return $this->getMyPK();
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public static function constructor__String ($_MyPK) // [String _MyPK]
	{
		$me = new self();
		$me->setMyPK($_MyPK);
		$me->Retrieve();
		return $me;
	}
}
?>
